home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / fast.doc < prev    next >
Text File  |  1995-03-31  |  2KB  |  52 lines

  1. FAST - How to speed up your hp48, V1.1 
  2. From: detlef@mwhh.hanse.de (Detlef Mueller) 
  3. Newsgroups: comp.sources.hp48 
  4. Date: 7 Oct 91 02:35:18 GMT 
  5.  
  6. Hi ... 
  7.  
  8. Anybody left who says `you can't speed up the HP48` ??? Yes ... ? Ok, 
  9. here is how to do it, version 1.1 . 
  10.  
  11. Displaying the display :-] is time consuming. The display refresh logic 
  12. steal about 11% of the CPU time from the Saturn, so switch off the LCD 
  13. and all is fine. 
  14.  
  15. The following program turns the display off (that's the disadvantage of 
  16. this program, you can't see what's going on), executes the object in the 
  17. first stack level (sorry, no tagged object), then turns the display on 
  18. again. 
  19.  
  20. The entry to turn the display off is not supported in ENTRIES.A (there 
  21. is a entry named 'DispOff', it switches off the display 'dirty'. I used 
  22. this entry in version 1.0 of FAST). 'CleanDispOff' is used by the OFF 
  23. routine (hard to find :-). 
  24.  
  25. If your program terminates and the display is still off, switch the HP48 
  26. off (blind) then on again. This should reenable the display. 
  27.  
  28. IMO you can further speed up your programs, if you activate the commented 
  29. lines in FAST.S because timer interrupts are time consuming, too. 
  30. I've not tested this!  Do it at your own risk! 
  31.  
  32. To generate FAST, put the listings of FAST.S and FAST.M in the appropriate 
  33. files, then invoke the following commandlines at the MesS-DOS prompt: 
  34.  
  35.     rplcomp fast.s fast.a 
  36.     sasm -e -N fast.a 
  37.     sload -H fast.m 
  38.  
  39. Bye, 
  40.     8-), Detlef 
  41.  
  42. +-----------------------------------+---------------------------------------+ 
  43. |       `You mean this isn't        |             Detlef Mueller            | 
  44. |          the afterlife ?`         |          detlef@mwhh.hanse.de         | 
  45. | Arthur in THGTTG, part II, p. 78  |...!uunet!mcsun!unido!mcshh!mwhh!detlef| 
  46. +-----------------------------------+---------------------------------------+ 
  47.  
  48. [Note: Not only do programs run faster in FAST mode, but they actually run 
  49.  using less power per second (since driving the display takes juice).  Using 
  50.  FAST will extend the life of your batteries.  See DRAIN2.DOC in the POSTINGS 
  51.  directory on this disk for further battery drain information.  -jkh-] 
  52.